package com.syx.entity;

public class Area {
    private Integer id;
    private String title;
    private String pic;
    private Integer shengid;
    private Integer shiid;
    private Integer xianid;

    public Area() {
    }

    public Area(Integer id, String title, String pic, Integer shengid, Integer shiid, Integer xianid) {
        this.id = id;
        this.title = title;
        this.pic = pic;
        this.shengid = shengid;
        this.shiid = shiid;
        this.xianid = xianid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getShengid() {
        return shengid;
    }

    public void setShengid(Integer shengid) {
        this.shengid = shengid;
    }

    public Integer getShiid() {
        return shiid;
    }

    public void setShiid(Integer shiid) {
        this.shiid = shiid;
    }

    public Integer getXianid() {
        return xianid;
    }

    public void setXianid(Integer xianid) {
        this.xianid = xianid;
    }

    @Override
    public String toString() {
        return "Area{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", pic='" + pic + '\'' +
                ", shengid=" + shengid +
                ", shiid=" + shiid +
                ", xianid=" + xianid +
                '}';
    }
}
